home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.3 KB | 55 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _REFCTOBJ_
- #define _REFCTOBJ_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Theory of Operation
- //==============================================================================
-
- /*
- This file defines class ODRefCntObject. This class is the common base class
- for all OpenDoc classes whose objects require ref counting.
- */
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODRefCntObject;
-
- //==============================================================================
- // ODRefCntObject
- //==============================================================================
-
- interface ODRefCntObject : ODObject
- {
- void InitRefCntObject();
-
- void IncrementRefCount();
-
- void Release();
-
- ODULong GetRefCount();
-
- #ifdef __SOMIDL__
- implementation
- {
- somInit : override;
- somUninit : override;
- releaseorder:
- InitRefCntObject,
- IncrementRefCount,
- Release,
- GetRefCount;
-
- };
- #endif
- };
-
- #endif // _REFCTOBJ_
-
-